package com.gxa.controller.monitor;


import com.gxa.common.R;
import com.gxa.entity.DayDo;
import com.gxa.service.DailyAgentService;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

@Controller
public class DayDoController {
    @Autowired
    DailyAgentService dailyAgentService;


    @RequestMapping(value = "/dailyAgent",method = RequestMethod.GET,produces = "application/json;charset=utf-8")
    @ResponseBody
    public R FindDailyAgent(Integer currentPage, Integer pageSize, String operator){

        return dailyAgentService.FindDailyAgent(currentPage,pageSize,operator);

    }

}
